package com.wchen.gdoc.generate.mapping.resolver;

import com.wchen.gdoc.generate.mapping.data.ParamData;
import com.wchen.gdoc.generate.resource.structure.ObjectStructure;

/**
 * 类型结构解析
 *
 * @author  wchen
 * @date    2019/11/7
 */
public interface TypeStructureResolver {

    /**
     * 参数解析
     * @param objectStructure
     * @return
     */
    ParamData doResolve(ObjectStructure objectStructure);

    /**
     * 判断是否支持解析器解析
     * @param classType
     * @return
     */
    Boolean isSupport(String classType);
}
